#include <stdio.h>

int main()
{
    int lower;
    int upper;
    int i;
    float c;
    scanf("%d %d",&lower,&upper);
    if(lower <= upper && lower <= 100 && upper <= 100){
        printf("fahr celsius\n");
        for(i=lower;i<=upper;i=i+2){
            c = 5 * (i - 32) / 9.0;
            printf("%d%6.1f\n",i,c);
        }
    }else{
        printf("Invalid.\n");
    }
    return 0;
}